<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>小米商城模拟界面</title>
    <style type="text/css">
        .con{
            position: fixed;
            right: 5%;
            bottom: 7%;
        }
        .con a{
             display: block; 
             position: relative;
             margin: 15px 0px;
        }

        .con a .note{
            display: none;
            position: absolute;
            width: 100px;
            left: -105px;
            text-align: right;
            font-family: "microsoft yahei";
        }
        .logo img{
            width: 25px;
        }
        .hidden{
            display: none;
        }
        .con>a:hover .static{
            display: none;
        }
        .con>a:hover .hidden{
            display: inline-block;
        }
        .con>a:hover .note{
            display: inline-block;
            color: red;
        }
        ul{
            width: 75%;
            margin: 0 auto;
        }
        ul>li{
            list-style-type: none;
            display: inline-block; /* 既能共用一行又能调整大小 */
        }
        ul>li:hover img{
            box-shadow: 0px 5px 30px 5px rgba(0,0,0,0.1);
            transform: translateY(-2px);
        }
    </style>
</head>
<body>
    <ul>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
        <li><a href=""><img src="../css/product.jpg"></a></li>
    </ul>
    <div class="con">
        <a href="">
            <span class="note">
                <img src="../css/erweima.png" width="100px">
            </span>
            <span class="logo"></span>
            <span class="static"><img src="../css/1-1.png" alt=""></span>
            <span class="hidden"><img src="../css/1-2.png" alt=""></span>
        </a>
        <a href="">
            <span class="note">
                个人中心
            </span>
            <span class="logo"></span>
            <span class="static"><img src="../css/2-1.png" alt=""></span>
            <span class="hidden"><img src="../css/2-2.png" alt=""></span>
        </a>
        <a href="">
            <span class="note">
                售后服务
            </span>
            <span class="logo"></span>
            <span class="static"><img src="../css/3-1.png" alt=""></span>
            <span class="hidden"><img src="../css/3-2.png" alt=""></span>
        </a>
        <a href="">
            <span class="note">
                人工客服
            </span>
            <span class="logo"></span>
            <span class="static"><img src="../css/4-1.png" alt=""></span>
            <span class="hidden"><img src="../css/4-2.png" alt=""></span>
        </a>
        <a href="">
            <span class="note">
                购物车
            </span>
            <span class="logo"></span>
            <span class="static"><img src="../css/5-1.png" alt=""></span>
            <span class="hidden"><img src="../css/5-2.png" alt=""></span>
        </a>
    </div>
</body>
</html>